package com.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)  //运行时
@Target({ElementType.FIELD,ElementType.CONSTRUCTOR,ElementType.METHOD}) //@Autowried定义可以写在属性、构造函数、方法上
public @interface Autowried {
    String value() default "";
}
